package cn.zhp.web;

import com.alibaba.druid.support.http.WebStatFilter;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

@WebFilter(
        urlPatterns = "/*",
        initParams = {
            @WebInitParam(name = "exclusions",value = "*.js,*.jpg,*.png,*.css,/druid/*"),//设置忽略拦截规则
                @WebInitParam(name = "sessionStatEnable",value = "true")
        }
)
public class MyWebFilter extends WebStatFilter {
}
